package com.smiier.skin.net;

import android.content.Context;
import cn.o.app.net.NetTask;

import com.smiier.skin.constant.Constant;
import com.smiier.skin.net.ConfirmCodeShowTask.ConfirmCodeShowRequest;
import com.smiier.skin.net.ConfirmCodeShowTask.ConfirmCodeShowResponse;
import com.smiier.skin.util.GlobalSettings;

/**
 * 测试用：查看验证码
 * 
 * @author 杨文华
 * 
 */
public class ConfirmCodeShowTask extends
		NetTask<ConfirmCodeShowRequest, ConfirmCodeShowResponse> {

	public static class ConfirmCodeShowRequest extends ORequest {

		public String mobile;
		public String appname = Constant.APP_NAME;
		public int ConfirmCodeType = GlobalSettings.CONFIRM_CODE_TYPE_REGISTER;

	}

	public static class ConfirmCodeShowResponse extends OResponse {
		public String Res;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL + GlobalSettings.SERVER_URL_JOIN
				+ "?api=ConfirmCode.Show";
		mRequestMethod = METHOD_GET;
	}
}
